package com.pharmacy.pharmacy.domain;

import java.util.Date;

/**
 * 【】对象 category
 * 
 * @author 
 * @date 2025-05-08
 */
public class Category
{

    /** 主键，自增ID */
    private Long id;

    /** 分类名称 */
    private String categoryName;

    /** 分类说明 */
    private String description;

    private Date createTime;


    public Category() {
    }

    public Category(Long id, String categoryName, String description, Date createTime) {
        this.id = id;
        this.categoryName = categoryName;
        this.description = description;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置
     * @param categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "Category{id = " + id + ", categoryName = " + categoryName + ", description = " + description + ", createTime = " + createTime + "}";
    }
}
